package com.swind.fast.modules.app.railway.project.entity;

import com.swind.fast.common.aspect.annotation.Dict;
import com.swind.fast.common.system.base.entity.SwindEntity;
import org.springframework.format.annotation.DateTimeFormat;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.FieldFill;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 项目
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sca_railway_project")
public class RailwayProject extends SwindEntity {
	private String name;
    private String description;
    private String ownerId;
    private String leaderId;

    private String specialOwner;
    private String specialOwnerPhone;

    @Dict(dicCode = "railway_project_status")
    private Integer status;

    @Dict(dicCode = "railway_survey_phase")
    private Integer surveyPhase;

    @Dict(dicCode = "railway_project_category")
    private Integer category;

    private String orgCode;

    @TableLogic
    @TableField(select = false, fill = FieldFill.INSERT)
    private Integer deleted;
}
